<?php
class Controller_Default extends FLEA_Controller_Action
{
    function actionIndex() {
        $smarty =& $this->_getView();
        /* @var $smarty Smarty */
        $smarty->assign('my_var', 'The smarty template engine.');
        $smarty->assign('sumor_title', 'The smarty template engine.');
        $smarty->display('common/index.html');
    }


    function actionAlternative() {
        $viewData = array(
            'my_var' => 'The smarty template engine.',
        );
        $this->_executeView('tpl-alternative.html', $viewData);
    }
}
